package com.hulk.boot.zookeeper.endpoint;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.BeansException;
import org.springframework.boot.actuate.endpoint.AbstractEndpoint;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

/**
 * @author cmt
 *
 */
@Deprecated
public class ZookeeperEndpoint extends AbstractEndpoint<List<Object>> implements ApplicationContextAware {

    private ApplicationContext context;

    public ZookeeperEndpoint(){
        super("zookeeper");
    }

    @Override
    public void setApplicationContext(ApplicationContext context) throws BeansException {
        this.context = context;
    }
    
    //配置文件覆盖注解属性
    @Override
    public List<Object> invoke() {
       
        
        
        
        List<Object> all = new ArrayList<Object>();
       
       
        return all;
    }

}
